package Event.mainLine;

import Creature.Player;
import Engine.System1;
import Event.MainStory;

import javax.swing.*;

public class End1 extends MainStory {
    public End1(Player player) {
        super(player);
        this.lineIndex = 13;
        headerUrl = System1.class.getResource("/Interface/突破封锁.png");
        header = new ImageIcon(headerUrl);
        eventName = "结局1.狂风暴雨";
        happenText = "结局1.狂风暴雨\n\n冲出方舱后，虽然一时畅快，然而前方的狂风暴雨已然来临…";
        options = new String[]{"结束游戏"};
    }

    public void eventHappen(int option) {
        switch (option) {
            case 0:
                endText = "GAME OVER！";
                break;
        }
    }
}
